package priv.dajie.tzzq.dao;

import org.apache.ibatis.annotations.Param;
import priv.dajie.tzzq.spider.model.ItemInfo;
import priv.dajie.tzzq.spider.model.SellingInfo;

/**
 * @ClassName SteamMapper
 * @Description
 * @Author dajie
 * @Date 2019/10/17 12:26 上午
 * @Version V1.0
 **/
public interface SteamMapper {
    boolean addItem(SellingInfo sellingInfo);
    boolean updateItem(SellingInfo sellingInfo);
    Integer getItemCount(@Param("steamName") String steamName);
    boolean addInfo(ItemInfo itemInfo);
    boolean updateInfo(ItemInfo itemInfo);
    ItemInfo getInfo(ItemInfo itemInfo);

}
